package com.gxa.modules.model.entity.fee;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 就诊信息表
 * </p>
 *
 * @author yjl
 * @since 2022-11-14 03:01:31
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_consultation_info")
@ApiModel(value = "ConsultationInfo对象", description = "就诊信息表")
public class ConsultationInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("业务类型：0 门诊缴费， 1 门诊充值，2 住院充值，3住院缴费，4 就诊卡退款")
    @TableField("business_type")
    private Integer businessType;

    @ApiModelProperty("费用类型：0 西药费，1中药费")
    @TableField("expense_type")
    private Integer expenseType;

    @ApiModelProperty("删除：0 未删除，1 已删除")
    @TableField("is_delete")
    private Integer isDelete;

    @ApiModelProperty("操作时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("外键，医生ID")
    @TableField("doctor_id")
    private Integer doctorId;

    @ApiModelProperty("外键，就诊科室ID")
    @TableField("department_id")
    private Integer departmentId;

    @ApiModelProperty("外键，医院ID")
    @TableField("hospital_id")
    private Integer hospitalId;


}
